import React from 'react'
import { NavBar } from 'antd-mobile'
import {useNavigate} from 'react-router-dom'
import './index.css'

const Index:React.FC = () => {
    const navigate = useNavigate()

    const back=()=>{
        navigate(-1)
    }
  return (
    <div>
      <NavBar
       
        onBack={() =>back()} //返回
      >自营药房-在家购药</NavBar>
      <div>
        <img src="../../../public/image/图片19.png" alt="" style={{width:'100%'}}/>
        <img src="../../../public/image/图片20.png" alt="" style={{width:'100%'}}/>
        <div className='buyyao'>
            <img src="../../../public/image/图片21.png" alt="" />
            <img src="../../../public/image/图片22.png" alt="" />
            <img src="../../../public/image/图片23.png" alt="" />
            <img src="../../../public/image/图片24.png" alt="" />
            <img src="../../../public/image/图片25.png" alt="" />
            <img src="../../../public/image/图片26.png" alt="" />
            <img src="../../../public/image/图片27.png" alt="" />
            <img src="../../../public/image/图片28.png" alt="" />
        </div>
      </div>
    </div>
  )
}

export default Index
